package com.youshuit.designmodedemo.controller;

import com.youshuit.designmodedemo.service.IImageService;
import com.youshuit.designmodedemo.service.impl.proxy.ProxyImageServiceImpl;

/**
 * @author zhongzm
 * @date 2025-11-04 10:47
 */
public class ProxyPattern {

    public static void main(String[] args) {
        IImageService imageService = new ProxyImageServiceImpl("https://www.baidu.com/src/while.png");
        imageService.dispaly();
    }
}
